﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DormMS.Model.Enum;

namespace DormMS.Model.SearchModels.Draw
{
    public class DrawSearchModel:BaseSearchModel
    {
        //关键字
        public string Keywords { get; set; }

        //是否有效
        public int IsActive { get; set; }

        public DateTime? StartTimeFirst { get; set; }

        public DateTime? StartTimeSec { get; set; }
    }

    public class DrawRewardSearchModel :BaseSearchModel
    {
        public int DrawId { get; set; }
    }

    public class DrawRecordSearchModel : BaseSearchModel
    {
        public DateTime? AddTimeFirst { get; set; }

        public DateTime? AddTimeSec { get; set; }

        /// <summary>
        /// 0中奖，1未中奖，2全部
        /// </summary>
        public int IsWin { get; set; }

        /// <summary>
        /// 关键字
        /// </summary>
        public string Keywords { get; set; }

        public int DrawId { get; set; }
    }
}
